package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"varchar(30);not null;comment:用户账号"`
	Password string `gorm:"varchar(32);not null;comment:用户密码"`
}
type Call struct {
	gorm.Model
	Name string `gorm:"varchar(30);not null;comment:商品名称"`
	Pass int    `gorm:"int(500);comment:商品价格"`
	Shu  int    `gorm:"int(500);comment:商品数量"`
	Pid  int    `gorm:"int(500);comment:关联字段"`
}
